<?php $website_url = Configure::read('Website.url'); ?>

<div class="yourAccMain">
  <h6> Your Account </h6>
  <div class="yourAccMain_L"> </div>
  <div class="yourAccMain_L">
    <div class="yourAccMain_L_in">
      <div class="yourAccMain_L_in_L">
        <h2>Add an address </h2>
      </div>
      <?php echo $form->create('User', array('action'=>"", 'id'=>'SellerLoginFormSellerInformation')) ?>
      <?php
	  		if(isset($Edit_address['Address']['id']) and ($Edit_address['Address']['id']))
				{
					$Edit_address['Address']['id'] = $Edit_address['Address']['id'];
			}else{$Edit_address['Address']['id'] = ""; }
	  ?>
      <?php echo $this->Form->input('Address.id',array('type' => 'hidden','autocomplete'=>'off', 
		 'value'=>$Edit_address['Address']['id'],'label'=>false));?>
      <div class="yourAccMain_L_in_R">
        <div class="def_div f_left">
          <div class="acc_form_1">Full Name :</div>
                <?php
	  		if(isset($Edit_address['Address']['name']) and ($Edit_address['Address']['name']))
				{
					$Edit_address['Address']['name'] = $Edit_address['Address']['name'];
			}else{$Edit_address['Address']['name'] = ""; }
	  ?>

          <div class="acc_form_2"> <?php echo $this->Form->input('Address.name',array('type' => 'text','autocomplete'=>'off', 
		  'required'=>false,'class'=>'fie1','value'=>$Edit_address['Address']['name'],'label'=>false));?> </div>
        </div>
        <div class="def_div f_left">
          <div class="acc_form_1">Address Line 1 :</div>
                          <?php
	  		if(isset($Edit_address['Address']['add1']) and ($Edit_address['Address']['add1']))
				{
					$Edit_address['Address']['add1'] = $Edit_address['Address']['add1'];
			}else{$Edit_address['Address']['add1'] = ""; }
	  ?>

          <div class="acc_form_2"> <?php echo $this->Form->input('Address.add1',array('type' => 'text','autocomplete'=>'off', 
		  'required'=>false,'class'=>'fie1','value'=>$Edit_address['Address']['add1'],'label'=>false));?> <span class="gray_comment">Street address</span> </div>
        </div>
        <div class="def_div f_left">
          <div class="acc_form_1">Address Line 2 :</div>
		<?php
	  		if(isset($Edit_address['Address']['add2']) and ($Edit_address['Address']['add2']))
				{
					$Edit_address['Address']['add2'] = $Edit_address['Address']['add2'];
			}else{$Edit_address['Address']['add2'] = ""; }
	  ?>

          <div class="acc_form_2"> <?php echo $this->Form->input('Address.add2',array('type' => 'text','autocomplete'=>'off',
		   'required'=>false,'class'=>'fie1','value'=>$Edit_address['Address']['add2'],'label'=>false));?> <span class="gray_comment">Suite, unit, building, floor, etc.</span> </div>
        </div>
        <div class="def_div f_left">
          <div class="acc_form_1">City/Town :</div>
          		<?php
	  		if(isset($Edit_address['Address']['city']) and ($Edit_address['Address']['city']))
				{
					$Edit_address['Address']['city'] = $Edit_address['Address']['city'];
			}else{$Edit_address['Address']['city'] = ""; }
	  ?>

          <div class="acc_form_2"> <?php echo $this->Form->input('Address.city',array('type' => 'text','autocomplete'=>'off',
		   'required'=>false,'class'=>'fie1','value'=>$Edit_address['Address']['city'],'label'=>false));?> </div>
        </div>
        <div class="def_div f_left">
          <div class="acc_form_1">Province/Region/State :</div>
                    		<?php
	  		if(isset($Edit_address['Address']['state']) and ($Edit_address['Address']['state']))
				{
					$Edit_address['Address']['state'] = $Edit_address['Address']['state'];
			}else{$Edit_address['Address']['state'] = ""; }
	  ?>

          <div class="acc_form_2"> <?php echo $this->Form->input('Address.state',array('type' => 'text','autocomplete'=>'off',
		   'required'=>false,'class'=>'fie1','value'=>$Edit_address['Address']['state'],'label'=>false));?> </div>
        </div>
        <div class="def_div f_left">
          <div class="acc_form_1">Postal Code/Zip Code :</div>
                              		<?php
	  		if(isset($Edit_address['Address']['zip']) and ($Edit_address['Address']['zip']))
				{
					$Edit_address['Address']['zip'] = $Edit_address['Address']['zip'];
			}else{$Edit_address['Address']['zip'] = ""; }
	  ?>

          <div class="acc_form_2"> <?php echo $this->Form->input('Address.zip',array('type' => 'text','autocomplete'=>'off', 
		  'required'=>false,'class'=>'fie1','value'=>$Edit_address['Address']['zip'],'label'=>false));?> </div>
        </div>
        <div class="def_div f_left">
          <div class="acc_form_1">Country :</div>
	<?php
	  		if(isset($Edit_address['Address']['country']) and ($Edit_address['Address']['country']))
				{
					$Edit_address['Address']['country'] = $Edit_address['Address']['country'];
			}else{$Edit_address['Address']['country'] = ""; }
	  ?>

          <div class="acc_form_2">
            <?php
				echo $form->input('Address.country', 
				array('options' => $list_countries, 'default'=>$Edit_address['Address']['country'], 'class' => 'select_count dropbox', 
				'label' => false,'empty' => false));
	      ?>
          </div>
        </div>
        <div class="def_div f_left">
          <div class="acc_form_1">Phone Number :</div>
          <div class="acc_form_2">
          	<?php
	  		if(isset($Edit_address['Address']['phone']) and ($Edit_address['Address']['phone']))
				{
					$Edit_address['Address']['phone'] = $Edit_address['Address']['phone'];
			}else{$Edit_address['Address']['phone'] = ""; }
	  ?>

            <?php echo $this->Form->input('Address.phone',array('type' => 'text','value'=>$Edit_address['Address']['phone'],'autocomplete'=>'off', 
		  'required'=>false,'class'=>'fie1','label'=>false));?>
          </div>
        </div>
        <div class="def_div f_left">
          <div class="acc_form_1">&nbsp;</div>
          <div class="acc_form_2">
            <input type="submit" class="add2cart" value="Submit" name="">
          </div>
        </div>
      </div>
      <?php echo $form->end(); ?> </div>
  </div>
  <div class="yourAccMain_R"> <?php echo $this->element('dashboard_right');?> </div>
</div>
